Added some new changes, need to see if can split .env to just changes
This commit is contained in:
parent
547a811393
commit
07215722c0
|
@ -1 +0,0 @@
|
|||
PORT=8000
|
|
@ -1,3 +1,3 @@
|
|||
POSTGRES_USER=gitea
|
||||
POSTGRES_PASSWORD=gitea
|
||||
POSTGRES_PASSWORD=<changeme>
|
||||
POSTGRES_DB=gitea
|
||||
|
|
|
@ -4,4 +4,4 @@ DB_TYPE=postgres
|
|||
DB_HOST=db:5432
|
||||
DB_NAME=gitea
|
||||
DB_USER=gitea
|
||||
DB_PASSWD=gitea
|
||||
DB_PASSWD=<changeme>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue