Skip to content

Commit

Permalink
Add container names
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorley15 committed Aug 24, 2024
1 parent c197c07 commit bed96b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
web:
#build: ./frontend/
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
container_name: adventurelog-frontend
environment:
- PUBLIC_SERVER_URL=http://server:8000 # MOST DOCKER USERS WILL NEVER NEED TO CHANGE THIS, EVEN IF YOU CHANGE THE PORTS
- ORIGIN=http://localhost:8080
Expand All @@ -15,6 +16,7 @@ services:

db:
image: postgis/postgis:15-3.3
container_name: adventurelog-db
environment:
POSTGRES_DB: database
POSTGRES_USER: adventure
Expand All @@ -25,6 +27,7 @@ services:
server:
#build: ./backend/
image: ghcr.io/seanmorley15/adventurelog-backend:latest
container_name: adventurelog-backend
environment:
- PGHOST=db
- PGDATABASE=database
Expand All @@ -47,6 +50,7 @@ services:

nginx:
image: nginx:latest
container_name: adventurelog-nginx
ports:
- "81:80"
volumes:
Expand Down

0 comments on commit bed96b1

Please sign in to comment.