You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
797 B
31 lines
797 B
5 years ago
|
version: "3.3"
|
||
|
services:
|
||
|
|
||
|
server_proxy:
|
||
|
#image: registry.vlabs.uniwa.gr:5043/swarmlab-apache2-markdown
|
||
|
image: registry.vlabs.uniwa.gr:5080/vlab-apache2-proxy-ssl:latest
|
||
|
networks:
|
||
|
- git-net
|
||
|
deploy:
|
||
|
replicas: 1
|
||
|
placement:
|
||
|
constraints:
|
||
|
- node.id == ${REGISTERid}
|
||
|
ports:
|
||
|
- 3000:443
|
||
|
- 3043:8080
|
||
|
|
||
|
|
||
|
volumes:
|
||
|
- "/var/lib/swarmlab.io/gitproxy/ssl:/opt/ssl"
|
||
|
- "/var/lib/swarmlab.io/gitproxy/conf:/opt/proxy-conf"
|
||
|
- "/var/lib/swarmlab.io/gitproxy/apache2/apache2.conf:/etc/apache2/apache2.conf"
|
||
|
- "/var/lib/swarmlab.io/gitproxy/apache2/ports.conf:/etc/apache2/ports.conf"
|
||
|
- "/var/lib/swarmlab.io/gitproxy/www:/opt/www"
|
||
|
- "/var/lib/swarmlab.io/gitproxy/private:/opt/private"
|
||
|
|
||
|
|
||
|
networks:
|
||
|
git-net:
|
||
|
|