You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Portfolio/docker-compose.yml

29 lines
718 B

version: "3"
services:
# app:
# build: .
# container_name: portfolio
# environment:
# NEXT_PUBLIC_GITEA_USERNAME: "Guusvanmeerveld"
# NEXT_PUBLIC_GITEA_SERVER: "git.guusvanmeerveld.dev"
# SESSION_PASSWORD: "jsdlakfjad;slkfjepoweaur3290r830-q998-039jaklfjdkl"
# NEXT_PUBLIC_ALLOW_REGISTRATION: true
# DATABASE_URL: "postgres://portfolio:portfolio@db:5432/portfolio"
# ports:
# - 3000:3000
db:
image: postgres:14
container_name: portfolio-db
environment:
POSTGRES_USER: "portfolio"
POSTGRES_PASSWORD: "portfolio"
POSTGRES_DB: "portfolio"
ports:
- 5432:5432
volumes:
- db:/var/lib/postgresql/data
volumes:
db: