removed container names
This commit is contained in:
parent
ff9bb06bfd
commit
d210f75826
@ -2,13 +2,13 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
container_name: ${SERVICE_NAME}_gitea
|
image: ${GITEA_VERSION}
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
environment:
|
environment:
|
||||||
- USER_GID=${USER_GID}
|
- USER_GID=${USER_GID}
|
||||||
- USER_UID=${USER_UID}
|
- USER_UID=${USER_UID}
|
||||||
image: ${GITEA_VERSION}
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.docker.network=traefik-proxy
|
- traefik.docker.network=traefik-proxy
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
@ -29,7 +29,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- traefik-proxy
|
- traefik-proxy
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -38,16 +37,15 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- ${SSH_PORT}:22
|
- ${SSH_PORT}:22
|
||||||
db:
|
db:
|
||||||
container_name: ${SERVICE_NAME}_mysql
|
image: ${MYSQL_VERSION}
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||||
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
- MYSQL_USER=${MYSQL_USER}
|
- MYSQL_USER=${MYSQL_USER}
|
||||||
image: ${MYSQL_VERSION}
|
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/mysql:/var/lib/mysql
|
- ./data/mysql:/var/lib/mysql
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user