-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.ci.yml
42 lines (39 loc) · 1.58 KB
/
docker-compose.ci.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
# This file is used by the CI system (Github Actions) to build three of the five images
# that comprise the production system as defined in production.yml as well as one of the
# images used during database updating (the other services use plain, pre-built images).
# They are stored in the Github Container Registry under the image tag specified here.
# See the Github Actions workflow for information on the environment variables used here.
version: '3'
services:
flask_deploy:
image: ghcr.io/source-data/sd-graph_deploy_flask:${IMAGE_TAG}
build:
context: .
dockerfile: ./compose/local/flask/Dockerfile
labels:
org.opencontainers.image.source: ${IMAGE_SOURCE}
org.opencontainers.image.revision: ${IMAGE_REVISION}
flask:
image: ghcr.io/source-data/sd-graph_flask:${IMAGE_TAG}
build:
context: .
dockerfile: ./compose/production/flask/Dockerfile
labels:
org.opencontainers.image.source: ${IMAGE_SOURCE}
org.opencontainers.image.revision: ${IMAGE_REVISION}
traefik:
image: ghcr.io/source-data/sd-graph_traefik:${IMAGE_TAG}
build:
context: .
dockerfile: ./compose/production/traefik/Dockerfile
labels:
org.opencontainers.image.source: ${IMAGE_SOURCE}
org.opencontainers.image.revision: ${IMAGE_REVISION}
vuejs:
image: ghcr.io/source-data/sd-graph_vuejs:${IMAGE_TAG}
build:
context: .
dockerfile: ./compose/production/vuejs/Dockerfile
labels:
org.opencontainers.image.source: ${IMAGE_SOURCE}
org.opencontainers.image.revision: ${IMAGE_REVISION}