-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-dev.yml
87 lines (82 loc) · 2.47 KB
/
docker-compose-dev.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "3"
services:
actinia:
build:
context: .
dockerfile: actinia-dev/Dockerfile
volumes:
- ./actinia-data/grassdb:/actinia_core/grassdb:Z
- ./actinia-data/userdata:/actinia_core/userdata
- ./actinia-data/pgpass:/mnt/pgpass
- ./actinia-data/geodata_dir:/mnt/geodata
- ./actinia-data/workspace/temp_db:/actinia_core/workspace/temp_db
- ./actinia-data/workspace/tmp:/actinia_core/workspace/tmp
- ./actinia-data/resources:/actinia_core/resources
- ../actinia_core:/src/actinia_core/.
# - ../actinia_statistic_plugin/:/src/actinia_statistic_plugin/.
# - ../actinia-metadata-plugin/:/src/actinia-metadata-plugin/.
# - ../actinia-module-plugin/:/src/actinia-module-plugin/.
# - ../actinia-stac-plugin/:/src/actinia-stac-plugin/.
# - ../actinia-api:/src/actinia-api/.
ports:
- "8088:8088"
depends_on:
- valkey
cap_add:
- SYS_PTRACE
networks:
- actinia-dev
valkey:
image: valkey/valkey:8.0-alpine
volumes:
- ./valkey_data:/data
environment:
- VALKEY_PASS_FILE=/data/config/.valkey
command: [
"sh", "-c",
'
docker-entrypoint.sh
"/data/config/valkey.conf"
--requirepass "$$(cat $$VALKEY_PASS_FILE)"
'
]
ports:
- "6379:6379"
networks:
- actinia-dev
postgis:
image: postgis/postgis:14-3.2-alpine
volumes:
- ./postgis/postgres_data:/var/lib/postgresql/data
- ./postgis/init_data/01_init_keycloak.sql:/docker-entrypoint-initdb.d/01_init_keycloak.sql
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: ${POSTGRES_PW}
networks:
- actinia-dev
keycloak:
image: jboss/keycloak:16.1.1
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: ${KEYCLOAK_PW}
DB_VENDOR: postgres
DB_ADDR: postgis
DB_PORT: 5432
DB_DATABASE: keycloak
DB_USER: keycloak
DB_SCHEMA: public
DB_PASSWORD: ${POSTGRES_PW}
# Uncomment the line below if you want to specify JDBC parameters. The parameter below is just an example, and it shouldn't be used in production without knowledge. It is highly recommended that you read the PostgreSQL JDBC driver documentation in order to use it.
#JDBC_PARAMS: "ssl=true"
ports:
- 8080:8080
depends_on:
- postgis
networks:
- actinia-dev
networks:
actinia-dev:
ipam:
config:
- subnet: 172.18.0.0/16