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