Whoops, didn't commit for a while. Added button toggling logic, doesn't work
This commit is contained in:
parent
da4f4ba151
commit
a60a4c4885
21 changed files with 353 additions and 106 deletions
|
|
@ -1,43 +0,0 @@
|
|||
version: "3.5"
|
||||
|
||||
services:
|
||||
server:
|
||||
# build: ./server
|
||||
build:
|
||||
context: ./server
|
||||
dockerfile: Dockerfile.debug
|
||||
networks:
|
||||
- web
|
||||
- internal
|
||||
environment:
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres-password
|
||||
POSTGRES_USER: kalkulog
|
||||
POSTGRES_DB: kalkulog
|
||||
POSTGRES_HOST: database
|
||||
secrets: [ postgres-password ]
|
||||
depends_on: [ database ]
|
||||
ports:
|
||||
# TODO remove in prod
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- ./client/dist:/src/public:ro
|
||||
database:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres-password
|
||||
POSTGRES_USER: kalkulog
|
||||
POSTGRES_DB: kalkulog
|
||||
secrets: [ postgres-password ]
|
||||
networks: [ internal ]
|
||||
volumes:
|
||||
- ./db.mount:/var/lib/postgresql/data
|
||||
|
||||
secrets:
|
||||
postgres-password:
|
||||
file: ./server/postgres.pw
|
||||
|
||||
networks:
|
||||
internal:
|
||||
internal: true
|
||||
web:
|
||||
external: true
|
||||
1
docker-compose.yml
Symbolic link
1
docker-compose.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
docker-compose_dev.yml
|
||||
Loading…
Add table
Add a link
Reference in a new issue