Netzwerkinterfaces für Proxy wieder hinzugefügt

This commit is contained in:
bmen 2019-10-01 22:19:31 +02:00
parent 434bd5f277
commit ee52fa5275
1 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,12 @@
version: "2" version: "2"
networks:
webproxy:
external: true
backend-gitea:
external: true
services: services:
server: server:
image: gitea/gitea:latest image: gitea/gitea:latest
@ -12,6 +19,9 @@ services:
- DB_USER=gitea - DB_USER=gitea
- DB_PASSWD=gitea - DB_PASSWD=gitea
restart: always restart: always
networks:
- webproxy
- backend-gitea
volumes: volumes:
- /opt/appdata/gitea/data:/data - /opt/appdata/gitea/data:/data
ports: ports:
@ -29,6 +39,8 @@ services:
- MYSQL_USER=gitea - MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea - MYSQL_PASSWORD=gitea
- MYSQL_DATABASE=gitea - MYSQL_DATABASE=gitea
networks:
- backend-gitea
container_name: bmen-gitea-db container_name: bmen-gitea-db
volumes: volumes:
- /opt/appdata/gitea/mysql:/var/lib/mysql - /opt/appdata/gitea/mysql:/var/lib/mysql