mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 21:09:37 +02:00
Add container names
This commit is contained in:
parent
c197c074bc
commit
bed96b1a9b
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@ services:
|
||||||
web:
|
web:
|
||||||
#build: ./frontend/
|
#build: ./frontend/
|
||||||
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
|
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
|
||||||
|
container_name: adventurelog-frontend
|
||||||
environment:
|
environment:
|
||||||
- PUBLIC_SERVER_URL=http://server:8000 # MOST DOCKER USERS WILL NEVER NEED TO CHANGE THIS, EVEN IF YOU CHANGE THE PORTS
|
- 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
|
- ORIGIN=http://localhost:8080
|
||||||
|
@ -15,6 +16,7 @@ services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgis/postgis:15-3.3
|
image: postgis/postgis:15-3.3
|
||||||
|
container_name: adventurelog-db
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: database
|
POSTGRES_DB: database
|
||||||
POSTGRES_USER: adventure
|
POSTGRES_USER: adventure
|
||||||
|
@ -25,6 +27,7 @@ services:
|
||||||
server:
|
server:
|
||||||
#build: ./backend/
|
#build: ./backend/
|
||||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||||
|
container_name: adventurelog-backend
|
||||||
environment:
|
environment:
|
||||||
- PGHOST=db
|
- PGHOST=db
|
||||||
- PGDATABASE=database
|
- PGDATABASE=database
|
||||||
|
@ -47,6 +50,7 @@ services:
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
container_name: adventurelog-nginx
|
||||||
ports:
|
ports:
|
||||||
- "81:80"
|
- "81:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue