-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (45 loc) · 1.13 KB
/
docker-compose.yaml
File metadata and controls
48 lines (45 loc) · 1.13 KB
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
# SPDX-FileCopyrightText: 2019-2020 Magenta ApS
# SPDX-License-Identifier: MPL-2.0
services:
init:
image: magentaaps/os2mo-init:2
environment:
# Keycloak
AUTH_SERVER: "http://keycloak:8080/auth"
# OS2mo
MO_URL: "http://mo:5000"
CLIENT_ID: "dipex"
CLIENT_SECRET: "603f1c82-d012-4d04-9382-dbe659c533fb"
volumes:
- type: bind
source: ./init.config.yml
target: /config/config.yml
read_only: true
os2sync_export:
build:
context: .
env_file:
- docker.env
command: ["uvicorn", "--factory", "os2sync_export.main:create_app", "--host", "0.0.0.0", "--reload"]
ports:
- 127.0.0.1:8000:8000/tcp
volumes:
- ./os2sync_export:/app/os2sync_export
- ./tests:/app/tests
depends_on:
- db
- init
db:
# Requirement for running integration tests
# Not used in the actual integration
image: postgres:16
environment:
POSTGRES_USER: "fastramqpi"
POSTGRES_PASSWORD: "fastramqpi"
POSTGRES_DB: "fastramqpi"
networks:
- default
networks:
default:
external: true
name: os2mo_default