-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
66 lines (60 loc) · 1.29 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
54
55
56
57
58
59
60
61
62
63
64
65
66
# docker network rm ram
# docker network create --driver=bridge --subnet=172.99.99.0/24 --gateway=172.99.99.1 ram
version: '2'
networks:
ram:
external:
name: ram
services:
ram-postgis:
image: mdillon/postgis:9.6
container_name: ram-postgis
environment:
POSTGRES_PASSWORD: ram
POSTGRES_USER: ram
POSTGRES_DB: ram
volumes:
- ./setup/setup-extensions.sh:/docker-entrypoint-initdb.d/setup-extensions.sh
ports:
- 5432:5432
networks:
ram:
ipv4_address: 172.99.99.10
ram-minio:
image: minio/minio
container_name: ram-minio
ports:
- 9000:9000
networks:
ram:
ipv4_address: 172.99.99.15
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: miniostorageengine
command: server /export
ram-api:
build: ./
container_name: ram-api
ports:
- 4000:4000
networks:
- ram
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: yarn start
environment:
DS_ENV: offline
ram-frontend:
image: wbtransport/ram-frontend:latest
container_name: ram-frontend
ports:
- 8080:80
networks:
- ram
ram-id:
image: wbtransport/ram-id:latest
container_name: ram-id
ports:
- 8000:80
networks:
- ram