moved image name to docker-compose.yml, only version in .env
This commit is contained in:
parent
d210f75826
commit
50bb80bbb6
@ -2,7 +2,7 @@ version: "3"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: ${GITEA_VERSION}
|
||||
image: gitea/gitea:${GITEA_VERSION}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@ -37,7 +37,7 @@ services:
|
||||
ports:
|
||||
- ${SSH_PORT}:22
|
||||
db:
|
||||
image: ${MYSQL_VERSION}
|
||||
image: mariadb:${MYSQL_VERSION}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
|
@ -1,8 +1,8 @@
|
||||
GITEA_VERSION=gitea/gitea:latest
|
||||
GITEA_VERSION=latest
|
||||
MYSQL_DATABASE=gitea
|
||||
MYSQL_PASSWORD=
|
||||
MYSQL_USER=gitea
|
||||
MYSQL_VERSION=mariadb:10.6.3
|
||||
MYSQL_VERSION=10.6.3
|
||||
SERVICE_NAME=git.mydomain.com
|
||||
TRAEFIK_HOST=git.mydomain.com
|
||||
TRAEFIK_ROUTER=git_mydomain_com
|
||||
|
Loading…
Reference in New Issue
Block a user