blob: bff18264813597bc34da59158a554c437b6d0019 [file] [log] [blame]
Nico Huber8cd50ee2023-06-24 15:35:16 +00001version: "3"
2services:
3 nginx:
Nico Huber38c14da2023-06-24 16:59:28 +00004 build:
5 context: .
6 dockerfile: nginx/Dockerfile
Nico Huber8cd50ee2023-06-24 15:35:16 +00007 ports:
8 - "80:80"
Nico Huber38c14da2023-06-24 16:59:28 +00009 - "443:443"
Nico Huber8cd50ee2023-06-24 15:35:16 +000010 networks:
11 - simpleidnet
12 volumes:
13 - ./simpleid/cache/:/var/cache/simpleid/:ro
14 - ./simpleid/identities/:/var/db/simpleid/:ro
15 - ./simpleid/store/:/var/lib/simpleid/:ro
16 - ./simpleid/www/:/var/www/html/:ro
17 - ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf:ro
18 - ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro
19 - ./logs/nginx:/var/log/nginx/:rw
20 simpleid:
21 build:
22 context: .
23 dockerfile: simpleid/Dockerfile
24 networks:
25 - simpleidnet
26 volumes:
27 - ./simpleid/cache/:/var/cache/simpleid/:rw
28 - ./simpleid/identities/:/var/db/simpleid/:ro
29 - ./simpleid/store/:/var/lib/simpleid/:rw
30 - ./simpleid/www/:/var/www/html/:ro
31 - ./logs/simpleid/:/var/log/:rw
32networks:
33 simpleidnet:
34 driver: bridge