-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
42 lines (39 loc) · 1.28 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
version: '3'
services:
ssprocloudserver:
image: scottyhardy/docker-wine:stable-7.0
restart: always
entrypoint: /usr/bin/ssprocloud-entrypoint
ports:
- "127.0.0.1:3389:3389/tcp" # RDP (internal, through SSH tunnel only)
- "1805:1805/tcp" # Pro Cloud Floating License (SSL)
networks:
ssprocloud:
ipv4_address: ${BASE_IP}.2
environment:
ADMIN: ${ADMIN:-no} # "yes" or "no"
SSPROCLOUD_64BIT: ${SSPROCLOUD_64BIT:-yes} # "yes" or "no"
volumes:
- ./winehome:/home/wineuser
- ./entrypoint.sh:/usr/bin/ssprocloud-entrypoint
- ./install.sh:/usr/bin/ssprocloud-install
- ${SSL_CERT}:/home/wineuser/.wine/drive_c/Program Files/Sparx Systems/Pro Cloud Server/Service/server.pem
- ${SSPROCLOUD_INSTALLER}:/home/wineuser/ssprocloud/ssprocloudserver.msi
ssprocloudwebconfig:
build: webconfig
restart: always
ports:
- "1800:80/tcp"
networks:
ssprocloud:
ipv4_address: ${BASE_IP}.3
volumes:
- ./winehome/.wine/drive_c/Program Files/Sparx Systems/Pro Cloud Server/WebConfig:/var/www/html
- ${WEBCONFIG_SETTINGS}:/var/www/html/settings.php
networks:
ssprocloud:
driver: bridge
ipam:
config:
- subnet: ${BASE_IP}.0/16
gateway: ${BASE_IP}.1