Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame^] | 1 | version: "3" |
| 2 | services: |
| 3 | nginx: |
| 4 | image: nginx:1.25-alpine |
| 5 | ports: |
| 6 | - "80:80" |
| 7 | networks: |
| 8 | - simpleidnet |
| 9 | volumes: |
| 10 | - ./simpleid/cache/:/var/cache/simpleid/:ro |
| 11 | - ./simpleid/identities/:/var/db/simpleid/:ro |
| 12 | - ./simpleid/store/:/var/lib/simpleid/:ro |
| 13 | - ./simpleid/www/:/var/www/html/:ro |
| 14 | - ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf:ro |
| 15 | - ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro |
| 16 | - ./logs/nginx:/var/log/nginx/:rw |
| 17 | simpleid: |
| 18 | build: |
| 19 | context: . |
| 20 | dockerfile: simpleid/Dockerfile |
| 21 | networks: |
| 22 | - simpleidnet |
| 23 | volumes: |
| 24 | - ./simpleid/cache/:/var/cache/simpleid/:rw |
| 25 | - ./simpleid/identities/:/var/db/simpleid/:ro |
| 26 | - ./simpleid/store/:/var/lib/simpleid/:rw |
| 27 | - ./simpleid/www/:/var/www/html/:ro |
| 28 | - ./logs/simpleid/:/var/log/:rw |
| 29 | networks: |
| 30 | simpleidnet: |
| 31 | driver: bridge |