Skip to content
Snippets Groups Projects
Commit 3b2fc8ca authored by Nils Schneider's avatar Nils Schneider
Browse files

use public network instead of port forwarding

parent fc7db463
No related branches found
No related tags found
No related merge requests found
......@@ -26,14 +26,19 @@ services:
ICEBOX_DB_NAME: icebox
nginx:
build: nginx
ports:
- "80:80"
- "8081:8081"
- "8085:8085"
# In production an external IP is assigned to this container
#ports:
#- "80:80"
#- "8081:8081"
#- "8085:8085"
depends_on:
- web
- alias
- backend
networks:
default:
public:
ipv4_address: 172.23.208.37
database:
image: postgres
environment:
......@@ -42,3 +47,12 @@ services:
POSTGRES_DB: icebox
volumes:
- ../icebox-data:/var/lib/postgresql/data
networks:
public:
driver: macvlan
driver_opts:
parent: ens18
ipam:
config:
- subnet: 172.23.208.0/23[201~
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment