Update docker-compose.yml

pull/6/head
Esteban Mackay Q. 2 years ago
parent 38fa4c68ec
commit 97617ec8fb

@ -25,7 +25,6 @@ services:
mem_reservation: 600m mem_reservation: 600m
volumes: volumes:
- '/etc/ADN-Systems/adn.cfg:/opt/ADN-DMR-Peer-Server/config/adn.cfg' - '/etc/ADN-Systems/adn.cfg:/opt/ADN-DMR-Peer-Server/config/adn.cfg'
ports: ports:
- '62031:62031/udp' - '62031:62031/udp'
#Change the below to inlude ports used for your OBP(s) #Change the below to inlude ports used for your OBP(s)
@ -33,9 +32,10 @@ services:
- '8000:8000' - '8000:8000'
image: 'registry.gitlab.com/hp3icc/fdmr/adn-server-single:latest' image: 'registry.gitlab.com/hp3icc/fdmr/adn-server-single:latest'
restart: "unless-stopped" restart: "unless-stopped"
logging:
driver: none
networks: networks:
app_net: - bridge
ipv4_address: 172.16.238.10
#Control parameters inside container #Control parameters inside container
environment: environment:
#IPV6 support #IPV6 support
@ -74,17 +74,12 @@ services:
#Note -the gencert.sh script only works when the webserver is available on the default port 80 #Note -the gencert.sh script only works when the webserver is available on the default port 80
#If it's on non-standard ports, you'll need to request the certificates manually. #If it's on non-standard ports, you'll need to request the certificates manually.
networks:
app_net:
ipv4_address: 172.16.238.20
logging: logging:
driver: json-file driver: none
networks:
- bridge
networks: networks:
app_net: bridge:
driver: bridge driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
gateway: 172.16.238.1

Loading…
Cancel
Save

Powered by TurnKey Linux.