mirror of
https://github.com/StepanovPlaton/HomeServerServices.git
synced 2026-04-03 20:30:44 +04:00
Refactoring
This commit is contained in:
@@ -19,6 +19,13 @@ services:
|
||||
# - ${GITEA_SSH_PORT:?}:2222
|
||||
depends_on:
|
||||
- gitea-db
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
reservations:
|
||||
memory: 256M
|
||||
networks:
|
||||
- gitea_network
|
||||
|
||||
@@ -32,9 +39,17 @@ services:
|
||||
- POSTGRES_DB=${GITEA_DB:?}
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
reservations:
|
||||
memory: 256M
|
||||
networks:
|
||||
- gitea_network
|
||||
|
||||
networks:
|
||||
gitea_network:
|
||||
name: gitea_network
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user