moved env to
This commit is contained in:
parent
77231c969b
commit
e1a09f01a3
@ -1,31 +1,33 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
# database:
|
||||||
container_name: darius-portfolio-database
|
# container_name: darius-portfolio-database
|
||||||
image: postgres:alpine
|
# image: postgres:alpine
|
||||||
restart: always
|
# restart: always
|
||||||
env_file:
|
# env_file:
|
||||||
- .env
|
# - .env
|
||||||
ports:
|
# ports:
|
||||||
- "5432:5432"
|
# - "5432:5432"
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
# test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
||||||
interval: 10s
|
# interval: 10s
|
||||||
timeout: 5s
|
# timeout: 5s
|
||||||
retries: 5
|
# retries: 5
|
||||||
|
|
||||||
portfolio:
|
portfolio:
|
||||||
container_name: darius-portfolio-server
|
container_name: darius-portfolio-server
|
||||||
build: .
|
build: .
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000"
|
- "4000:4000"
|
||||||
- "4001:4001"
|
- "4001:4001"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.dariusklein.nl/portfolio:latest
|
image: docker.dariusklein.nl/portfolio:latest
|
||||||
depends_on:
|
# depends_on:
|
||||||
database:
|
# database:
|
||||||
condition: service_healthy
|
# condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./backup:/web/assets/json
|
- ./backup:/web/assets/json
|
||||||
|
|
||||||
|
|||||||
1
go.mod
1
go.mod
@ -6,7 +6,6 @@ require (
|
|||||||
entgo.io/ent v0.13.1
|
entgo.io/ent v0.13.1
|
||||||
github.com/delaneyj/gomponents-iconify v0.0.20231025
|
github.com/delaneyj/gomponents-iconify v0.0.20231025
|
||||||
github.com/golang-jwt/jwt/v5 v5.2.1
|
github.com/golang-jwt/jwt/v5 v5.2.1
|
||||||
github.com/joho/godotenv v1.5.1
|
|
||||||
github.com/lib/pq v1.10.9
|
github.com/lib/pq v1.10.9
|
||||||
github.com/maragudk/gomponents v0.20.2
|
github.com/maragudk/gomponents v0.20.2
|
||||||
github.com/maragudk/gomponents-htmx v0.5.0
|
github.com/maragudk/gomponents-htmx v0.5.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user