Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 1 | version: "3" |
| 2 | services: |
| 3 | nginx: |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame^] | 4 | build: |
| 5 | context: . |
| 6 | dockerfile: nginx/Dockerfile |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 7 | ports: |
| 8 | - "80:80" |
Nico Huber | 38c14da | 2023-06-24 16:59:28 +0000 | [diff] [blame^] | 9 | - "443:443" |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 10 | 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 |
| 32 | networks: |
| 33 | simpleidnet: |
| 34 | driver: bridge |