-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
63 lines (59 loc) · 1.88 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
networks:
altinnplatform_network:
external: false
services:
# altinn_platform_storage:
# container_name: altinn-platform-storage
# image: altinnplatformstorage:latest
# restart: always
# networks:
# - altinnplatform_network
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - ASPNETCORE_URLS=http://+:5010
# - PlatformStorageSettings:ApiEndPoint=http://altinn-platform-storage:5010/api/v1
# - PlatformStorageSettings:ApiEndPointHost=http://altinn-platform-storage:5010/
# ports:
# - "5010:5010"
# build:
# context: .
# dockerfile: Dockerfile
altinn_platform_storage_postgres:
image: postgres:16
container_name: storage_postgres
restart: unless-stopped
networks:
- altinnplatform_network
environment:
- POSTGRES_USER=platform_storage_admin
- POSTGRES_PASSWORD=Password
ports:
- '5432:5432'
volumes:
- ./infra/postgres_init.sql:/docker-entrypoint-initdb.d/postgres_init.sql
altinn_platform_storage_pgadmin:
image: dpage/pgadmin4
container_name: storage_pgadmin
restart: unless-stopped
networks:
- altinnplatform_network
ports:
- '8888:80'
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: Password
PGADMIN_CONFIG_SERVER_MODE: 'False'
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
volumes:
- ./infra/servers.json:/pgadmin4/servers.json
altinn_platform_storage_azurite:
image: mcr.microsoft.com/azure-storage/azurite:3.33.0
container_name: storage_azurite
restart: unless-stopped
command: "azurite --blobHost 0.0.0.0 --blobPort 10000 --queueHost 0.0.0.0 --queuePort 10001 --tableHost 0.0.0.0 --tablePort 10002"
ports:
- "10000:10000"
- "10001:10001"
- "10002:10002"
networks:
- altinnplatform_network