jean-cloud-services/services/cousinades.jean-cloud.net/docker-compose.yml
2024-01-02 17:50:14 +01:00

36 lines
640 B
YAML
Executable File

version: '3'
services:
app:
build: .
volumes:
- /data/cousinades.jean-cloud.net/public:/usr/src/app
restart: unless-stopped
networks:
default:
ipv4_address: $NET.100
deploy:
resources:
limits:
cpus: '0.50'
memory: 100M
db:
image: postgres:9.6-alpine
volumes:
- /data/cousinades.jean-cloud.net/db:/var/lib/postgresql/data
networks:
default:
ipv4_address: $NET.101
deploy:
resources:
limits:
cpus: '0.50'
memory: 100M
networks:
default:
ipam:
config:
- subnet: $NET.0/24