-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (51 loc) · 1.39 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
services:
wcs:
container_name: bac-wcs
image: bactran/wcs-emulator:latest
network_mode: "host"
restart: unless-stopped
codesys:
container_name: bac-amzl-codesys
image: bactran/bac-amzl-codesys:latest
network_mode: "host"
volumes:
- codesys-data:/data
- ./CODESYSControl_User.cfg:/etc/CODESYSControl_User.cfg:ro
- codesys-pvc:/var/opt/codesys
#uts: host
restart: unless-stopped
# Ignition Gateway
#gateway:
# image: inductiveautomation/ignition:latest
## restart: unless-stopped
# ports:
# - 8088:8088
# - 8043:8043
# volumes:
# - gw-data:/usr/local/bin/ignition/data
# # env_file: ignition.env # optionally specify variables in a file, or using `environment:` below
# environment:
# - ACCEPT_IGNITION_EULA=Y
# - GATEWAY_ADMIN_USERNAME=cse
# - GATEWAY_ADMIN_PASSWORD_FILE=cse
# - IGNITION_EDITION=edge
# - TZ=America/Los_Angeles # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
#DB for Ignition
db:
image: mariadb:latest
container_name: maria-db-ignition
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: cse
MYSQL_DATABASE: Ignition
MYSQL_USER: cse
MYSQL_PASSWORD: cse
volumes:
- db-data:/var/lib/mysql
ports:
- "3306:3306"
volumes:
db-data:
gw-data:
codesys-data:
codesys-pvc: