makefile and update dependencies
This commit is contained in:
parent
2d2a4a4c07
commit
509508990e
14 changed files with 1050 additions and 1439 deletions
|
@ -1,36 +1,35 @@
|
|||
version: "3"
|
||||
services:
|
||||
next-url-shortener:
|
||||
container_name: next-url-shortener
|
||||
image: ghcr.io/nexveridian/next-url-shortener:latest
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- 3000:3000
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
- postgres
|
||||
next-url-shortener:
|
||||
container_name: next-url-shortener
|
||||
image: ghcr.io/nexveridian/next-url-shortener:latest
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- 3000:3000
|
||||
depends_on:
|
||||
- postgres
|
||||
networks:
|
||||
- postgres
|
||||
|
||||
postgres:
|
||||
container_name: postgres
|
||||
image: postgres:latest
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
cpus: 1
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
networks:
|
||||
- postgres
|
||||
postgres:
|
||||
container_name: postgres
|
||||
image: postgres:latest
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
cpus: 1.0
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
networks:
|
||||
- postgres
|
||||
|
||||
volumes:
|
||||
data:
|
||||
data:
|
||||
|
||||
networks:
|
||||
postgres:
|
||||
postgres:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue