blob: bff18264813597bc34da59158a554c437b6d0019 [file] [log] [blame]
version: "3"
services:
nginx:
build:
context: .
dockerfile: nginx/Dockerfile
ports:
- "80:80"
- "443:443"
networks:
- simpleidnet
volumes:
- ./simpleid/cache/:/var/cache/simpleid/:ro
- ./simpleid/identities/:/var/db/simpleid/:ro
- ./simpleid/store/:/var/lib/simpleid/:ro
- ./simpleid/www/:/var/www/html/:ro
- ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf:ro
- ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro
- ./logs/nginx:/var/log/nginx/:rw
simpleid:
build:
context: .
dockerfile: simpleid/Dockerfile
networks:
- simpleidnet
volumes:
- ./simpleid/cache/:/var/cache/simpleid/:rw
- ./simpleid/identities/:/var/db/simpleid/:ro
- ./simpleid/store/:/var/lib/simpleid/:rw
- ./simpleid/www/:/var/www/html/:ro
- ./logs/simpleid/:/var/log/:rw
networks:
simpleidnet:
driver: bridge