-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
68 lines (63 loc) · 1.5 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
67
68
# SPDX-FileCopyrightText: NOI Techpark <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
services:
frontend:
container_name: wcstore_frontend
build:
context: ./frontend
dockerfile: docker/dockerfile-node-local-wcs
environment:
HOST: 0.0.0.0
env_file: .env
ports:
- "${FRONTEND_PORT}:3000"
tty: true
api:
container_name: wcstore_api
build:
context: backend
dockerfile: data-service/infrastructure/docker/Dockerfile-local-wcs
volumes:
- ./workspace:/workspace
env_file:
- .env
depends_on:
- postgres
ports:
- "${API_SERVER_PORT}:${API_SERVER_PORT}"
tty: true
cdn:
container_name: wcstore_cdn
build:
context: backend
dockerfile: delivery-service/infrastructure/docker/Dockerfile-local-wcs
volumes:
- ./workspace:/workspace
env_file:
- .env
depends_on:
- postgres
ports:
- "${CDN_SERVER_PORT}:${CDN_SERVER_PORT}"
tty: true
postgres:
container_name: wcstore_postgres
image: postgres:13
ports:
- "5555:5432"
environment:
POSTGRES_USER: wcs
POSTGRES_PASSWORD: wcs
POSTGRES_DB: wcs
wcstore-cli:
container_name: wcstore-cli
build:
context: webcompstore-cli
dockerfile: docker/Dockerfile
env_file: .env
command: ./wait-for -t 0 api:${API_SERVER_PORT} -- python webcompstore-cli.py --push ${WC_VERSION}
depends_on:
- api
volumes:
- ${WC_PATH}:${WC_PATH}