-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (37 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3.9'
services:
nginx:
build: https://github.com/specify/nginx-with-github-auth.git#main
ports:
- '80:80'
- '443:443'
volumes:
- './sp7-stats/config/auth.conf:/etc/nginx/auth.conf:ro'
- './sp7-stats/config/nginx.conf:/etc/nginx/conf.d/default.conf:ro'
- './sp7-stats/:/var/www/:ro'
- './sp7-stats/config/fullchain.pem:/etc/letsencrypt/live/sp7-stats/fullchain.pem:ro'
- './sp7-stats/config/privkey.pem:/etc/letsencrypt/live/sp7-stats/privkey.pem:ro'
networks:
- nginx
depends_on:
- php
php:
build:
context: ./
target: back_end
env_file:
./.env
volumes:
# CHANGE THIS:
# Location of the place where all of your access.log files are located.
# Make sure the web server has read permissions to all the files in this folder.
- './access-logs/:/home/specify/access-logs/'
- './sp7-stats/:/var/www/:ro'
- 'working-dir:/home/specify/working-dir/'
networks:
- nginx
networks:
nginx:
volumes:
database:
working-dir: