forked from wdr-data/code4maus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (52 loc) · 1.4 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
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.5'
services:
entry:
image: traefik
command: -c /dev/null --api --docker --docker.domain=localhost
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8601:80"
- "8080:8080"
labels:
traefik.enable: false
app:
image: node:alpine
command: /src/node_modules/.bin/yarn start
working_dir: /src
environment:
DOCKER_WATCH: 1
AWS_ACCESS_KEY_ID: shaiChotufuochizi7ei
AWS_SECRET_ACCESS_KEY: thaacooG9iequeexooreiKoh9daihoo8ta0aifoh1ChahBi1ko
AWS_REGION: eu-central-1
volumes:
- ".:/src"
labels:
traefik.port: 8601
traefik.frontend.rule: Host:localhost
backend:
image: node:alpine
command: /src/node_modules/.bin/yarn start:backend -o 0.0.0.0
working_dir: /src
environment:
STORAGE_ENDPOINT: http://storage:9000
STORAGE_ENDPOINT_FRONTEND: http://localhost:9000
STORAGE_BUCKET: data
volumes:
- ".:/src"
labels:
traefik.port: 3000
traefik.frontend.rule: Host:localhost;PathPrefix:/api/
storage:
image: minio/minio
command: server /data
volumes:
- "./.cache:/data"
environment:
MINIO_ACCESS_KEY: shaiChotufuochizi7ei
MINIO_SECRET_KEY: thaacooG9iequeexooreiKoh9daihoo8ta0aifoh1ChahBi1ko
ports:
- "9000:9000"
labels:
traefik.port: 9000
traefik.frontend.rule: Host:localhost;PathPrefix:/data/