Merge branch 'master' of git.silversoft.se:Imbus/FrostByte
This commit is contained in:
commit
fb42380f9c
7 changed files with 312 additions and 263 deletions
31
container/docker-compose.yml
Normal file
31
container/docker-compose.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
# This composefile is not yet ready for use.
|
||||
# This is because the application assumes the database to be migrated, which happens manually.
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
frostbyte:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: ./container/Containerfile
|
||||
container_name: fb-server
|
||||
environment:
|
||||
DATABASE_URL: "postgres://CHANGEME:CHANGEME@fb-database:5432/frostbyte"
|
||||
networks:
|
||||
- fb_network
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
postgres:
|
||||
image: docker.io/postgres:16.1-alpine
|
||||
container_name: fb-database
|
||||
environment:
|
||||
POSTGRES_DB: CHANGEME
|
||||
POSTGRES_USER: CHANGEME
|
||||
POSTGRES_PASSWORD: CHANGEME
|
||||
networks:
|
||||
- fb_network
|
||||
|
||||
networks:
|
||||
fb_network:
|
||||
driver: bridge
|
Loading…
Add table
Add a link
Reference in a new issue