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.
49 lines
999 B
49 lines
999 B
version: '3'
|
|
|
|
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: pxportal_nginx
|
|
networks:
|
|
- pxportal
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./webapp:/data/webapp
|
|
- ./conf/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./conf/conf.d:/etc/nginx/conf.d/
|
|
command: ['nginx-debug', '-g', 'daemon off;']
|
|
|
|
dnsmasq:
|
|
image: andyshinn/dnsmasq
|
|
container_name: pxportal_dnsmasq
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
cap_add:
|
|
- NET_ADMIN
|
|
volumes:
|
|
- ./conf/dnsmasq.conf:/etc/dnsmasq.conf
|
|
depends_on:
|
|
- pxportal
|
|
|
|
pxportal:
|
|
container_name: pxportal_service
|
|
image: registry.preprod.pxcom.aero/pxcom-servers/pxportal-srv:latest
|
|
volumes:
|
|
- ssh:/root/.ssh
|
|
networks:
|
|
- pxportal
|
|
environment:
|
|
- REDIRECT_TO=http://portal.eca.aero/index.html
|
|
- ARP_CMD=ssh barry@172.27.0.1 arp -n
|
|
ports:
|
|
- "8889:8889"
|
|
- "9000:9000"
|
|
|
|
volumes:
|
|
ssh:
|
|
|
|
networks:
|
|
pxportal:
|
|
driver: bridge
|