Added some new changes, need to see if can split .env to just changes

This commit is contained in:
Ash Leece 2020-08-21 19:32:49 +00:00
parent 547a811393
commit 07215722c0
4 changed files with 3 additions and 11 deletions

View File

@ -1 +0,0 @@
PORT=8000

View File

@ -1,3 +1,3 @@
POSTGRES_USER=gitea
POSTGRES_PASSWORD=gitea
POSTGRES_PASSWORD=<changeme>
POSTGRES_DB=gitea

View File

@ -4,4 +4,4 @@ DB_TYPE=postgres
DB_HOST=db:5432
DB_NAME=gitea
DB_USER=gitea
DB_PASSWD=gitea
DB_PASSWD=<changeme>

View File

@ -1,16 +1,11 @@
version: "2"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
env_file: .env.gitea
restart: always
networks:
- gitea
links: db
volumes:
- gitea:/data
- /etc/timezone:/etc/timezone:ro
@ -24,8 +19,6 @@ services:
image: postgres:latest
restart: always
env_file: .env.db
networks:
- gitea
volumes:
- db:/var/lib/postgresql/data