-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
35 lines (34 loc) · 1005 Bytes
/
docker-compose.yaml
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
version: '3.8'
services:
ksi-be:
build:
context: .
dockerfile: .docker/Dockerfile
image: fi0ksi/ksi-be
ports:
- "3030:3030"
volumes:
- ./.docker/data/db:/opt/database
- ./.docker/data/data:/opt/data
- ./.docker/data/seminar.git:/opt/seminar.git # Not needed if SEMINAR_GIT_URL is set to value other than ::local::
environment:
- SEMINAR_GIT_URL=${SEMINAR_GIT_URL:-::local::} # If set to value other than ::local::, clones seminar repository from this origin instead of creating a blank one
container_name: ksi-be
devices:
- /dev/fuse:/dev/fuse
cap_add:
- SYS_ADMIN
privileged: true
security_opt:
- apparmor:unconfined
entrypoint: ["/bin/bash", "./.docker/entrypoint.sh"]
ksi-fe-dev:
container_name: ksi-fe-local
image: fi0ksi/ksi-fe-local
ports:
- "4201:80"
ksi-fe-old-dev:
container_name: ksi-fe-old-dev
image: fi0ksi/ksi-fe-old-local
ports:
- "8080:80"