Commit 1eb2813

Andrew Patrick <ajpatri@gmail.com>
2020-10-03 20:33:20
Add static ips for server, firewall
1 parent a9b21bf
Changed files (1)
docker-compose.yml
@@ -38,8 +38,10 @@ services:
     image: sshd_port_2222
     restart: always
     networks:
-     - party
-     - cemetary
+        party:
+            ipv4_address: 172.16.2.31
+        cemetary:
+            ipv4_address: subnet: 10.10.10.1
     volumes: 
      - type: bind
        source: ./docker/files/server_1/root.pub
@@ -52,8 +54,10 @@ services:
     image: sshd_user_admin
     restart: always
     networks:
-     - internet
-     - party
+        internet:
+            ipv4_address: 200.200.200.111
+        party:
+            ipv4_address: 172.16.2.1
     volumes: 
      - type: bind
        source: ./docker/files/router_firewall/admin.pub
@@ -65,8 +69,6 @@ services:
        target: /bin/nope
        volume:
          nocopy: True
-   # TODO static IP on internet
-   # TODO static IP party
 
 # 40 redirectors
   redirector01: