Skip to content

Commit

Permalink
Add webapp on the same network as the db
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-M22 committed Apr 21, 2024
1 parent 715819c commit c7b5760
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
restart: unless-stopped
networks:
- nginx-proxy
- database
environment:
VIRTUAL_HOST: ponou.unibuc.ro

Expand Down Expand Up @@ -45,6 +46,8 @@ services:
POSTGRES_DB: taxes
volumes:
- db-data:/var/lib/postgresql/data
networks:
- database

volumes:
nginx-certs:
Expand All @@ -54,4 +57,4 @@ volumes:

networks:
nginx-proxy:

database:

0 comments on commit c7b5760

Please sign in to comment.