jean-cloud-services/services/cousinades.jean-cloud.net/docker-compose.yml

36 lines
640 B
YAML
Raw Normal View History

2023-04-24 10:11:09 +00:00
version: '3'
services:
app:
build: .
volumes:
- /data/cousinades.jean-cloud.net/public:/usr/src/app
restart: unless-stopped
networks:
default:
2024-01-02 16:50:14 +00:00
ipv4_address: $NET.100
2023-04-24 10:11:09 +00:00
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:
2024-01-02 16:50:14 +00:00
ipv4_address: $NET.101
2023-04-24 10:11:09 +00:00
deploy:
resources:
limits:
cpus: '0.50'
memory: 100M
networks:
default:
ipam:
config:
2024-01-02 16:50:14 +00:00
- subnet: $NET.0/24