blob: 17b3a207a3bab246ec1d3f89cb8a46697091867a [file] [log] [blame]
version: "3"
services:
nginx:
image: nginx:1.25-alpine
ports:
- "80:80"
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