-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (77 loc) · 1.88 KB
/
docker-compose.yml
File metadata and controls
77 lines (77 loc) · 1.88 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
services:
app:
build:
args:
user: isis
uid: 1000
platform: ${DOCKER_PLATFORM}
context: ./
dockerfile: Dockerfile
image: hgraph
container_name: hgraph
restart: unless-stopped
ports:
- "8000:8000"
working_dir: /var/www/
volumes:
- ./:/var/www
- ./storage/app/public/notebooks:/app/notebooks:rw
networks:
- sail
depends_on:
- postgres
jupyter-lite:
build:
context: .
dockerfile: ./docker/jupyterlite/Dockerfile
container_name: jupyterlite-server
restart: unless-stopped
volumes:
- ./storage/app/public/notebooks:/home/jovyan/work:ro
ports:
- 8888:8888
networks:
- sail
hostname: jupyter-lite
environment:
JUPYTER_ENABLE_LAB: "yes"
nginx:
image: nginx:1.25-alpine
container_name: hgraph-nginx
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
- ./:/var/www
- ./docker/nginx:/etc/nginx/conf.d
- ./certbot/www/:/var/www/certbot/:ro
- ./certbot/conf/:/etc/nginx/ssl/:ro
networks:
- sail
certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw
- ./certbot/logs/:/var/log/:rw
postgres:
image: postgres:16.6
restart: unless-stopped
ports:
- '${FORWARD_DB_PORT:-5432}:5432'
environment:
POSTGRES_DB: '${DB_DATABASE}'
POSTGRES_USER: '${DB_USERNAME}'
POSTGRES_PASSWORD: '${DB_PASSWORD}'
volumes:
- sail-postgres:/var/lib/postgresql/data
- ./docker/psql/:/docker-entrypoint-initdb.d
networks:
- sail
networks:
sail:
driver: bridge
volumes:
sail-postgres:
driver: local