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:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ${GITEA_VERSION}
|
image: gitea/gitea:${GITEA_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
@ -37,7 +37,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- ${SSH_PORT}:22
|
- ${SSH_PORT}:22
|
||||||
db:
|
db:
|
||||||
image: ${MYSQL_VERSION}
|
image: mariadb:${MYSQL_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
GITEA_VERSION=gitea/gitea:latest
|
GITEA_VERSION=latest
|
||||||
MYSQL_DATABASE=gitea
|
MYSQL_DATABASE=gitea
|
||||||
MYSQL_PASSWORD=
|
MYSQL_PASSWORD=
|
||||||
MYSQL_USER=gitea
|
MYSQL_USER=gitea
|
||||||
MYSQL_VERSION=mariadb:10.6.3
|
MYSQL_VERSION=10.6.3
|
||||||
SERVICE_NAME=git.mydomain.com
|
SERVICE_NAME=git.mydomain.com
|
||||||
TRAEFIK_HOST=git.mydomain.com
|
TRAEFIK_HOST=git.mydomain.com
|
||||||
TRAEFIK_ROUTER=git_mydomain_com
|
TRAEFIK_ROUTER=git_mydomain_com
|
||||||
|
Loading…
Reference in New Issue
Block a user