forked from design-group/ignition-8.3-postgres-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
72 lines (66 loc) · 2.09 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
72 lines (66 loc) · 2.09 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
services:
gateway:
image: inductiveautomation/ignition:8.3.0-rc1
volumes:
- ./services/ignition/config:/usr/local/bin/ignition/data/config
- ./services/ignition/projects:/usr/local/bin/ignition/data/projects
- ./shared/gateway-utilities/projects/gateway-utilities:/usr/local/bin/ignition/data/projects/gateway-utilities
# Temporary volume to skip commissioning
- ./services/ignition/commissioning.json:/usr/local/bin/ignition/data/commissioning.json
environment:
IGNITION_EDITION: "standard"
DISABLE_QUICKSTART: "true"
ACCEPT_IGNITION_EULA: "Y"
GATEWAY_MODULES_ENABLED: |
com.inductiveautomation.eventstream,
com.inductiveautomation.historian,
com.inductiveautomation.perspective,
com.inductiveautomation.jdbc.postgresql,
com.inductiveautomation.webdev,
com.inductiveautomation.opcua
command: >
-n ignition83
--
-Dignition.config.mode=local-dev
labels:
traefik.enable: "true"
traefik.hostname: "ignition83"
networks:
- default
- proxy
database:
image: postgres
hostname: postgres
volumes:
- ./services/postgres/init-sql:/docker-entrypoint-initdb.d
environment:
POSTGRES_PASSWORD: P@ssword1!
POSTGRES_USER: postgres
liquibase:
image: liquibase/liquibase
depends_on:
- database
volumes:
- ./services/postgres:/database
- ./scripts/wait-for-it.sh:/wait-for-it.sh
entrypoint: ["/wait-for-it.sh", "postgres:5432", "--", "liquibase", "--defaultsFile=/database/liquibase/liquibase.docker.properties", "update"]
# Uncomment the following lines to enable pgAdmin for database management
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
volumes:
- ./services/pgadmin/servers.json:/pgadmin4/servers.json
labels:
traefik.enable: "true"
traefik.hostname: "postgres-pgadmin"
networks:
- default
- proxy
networks:
default:
proxy:
external: true
name: proxy