|
|
|
@ -3,8 +3,8 @@ version: "3.1" |
|
|
|
|
services: |
|
|
|
|
server: |
|
|
|
|
image: ${GT_IMG:-gitea/gitea}:${GT_TAG:-latest} |
|
|
|
|
container_name: ${GT_CONTAINER_NAME} |
|
|
|
|
restart: unless-stopped |
|
|
|
|
container_name: ${GT_CONTAINER_NAME:gitea} |
|
|
|
|
restart: ${GT_RESTART:-unless-stopped} |
|
|
|
|
networks: |
|
|
|
|
- default |
|
|
|
|
- gitea |
|
|
|
@ -30,7 +30,7 @@ services: |
|
|
|
|
db: |
|
|
|
|
image: ${DB_IMG:-postgres}:${DB_TAG:-12.4} |
|
|
|
|
container_name: ${DB_CONTAINER_NAME:-gitea-db} |
|
|
|
|
restart: unless-stopped |
|
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
|
stop_signal: ${DB_STOP_SIG:-SIGTERM} |
|
|
|
|
stop_grace_period: ${DB_STOP_GRC:-10s} |
|
|
|
|
environment: |
|
|
|
|