Eliminar docker-compose.yaml
This commit is contained in:
parent
bb791bd321
commit
296a1d8450
@ -1,51 +0,0 @@
|
|||||||
services:
|
|
||||||
frontend:
|
|
||||||
image: nginx:latest
|
|
||||||
container_name: zkt_frontend
|
|
||||||
ports:
|
|
||||||
- "8080:80"
|
|
||||||
volumes:
|
|
||||||
- ./frontend/index.html:/usr/share/nginx/html/index.html:ro
|
|
||||||
- ./frontend/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
||||||
depends_on:
|
|
||||||
- backend
|
|
||||||
networks:
|
|
||||||
- zkt_net
|
|
||||||
restart: on-failure
|
|
||||||
|
|
||||||
backend:
|
|
||||||
build: ./backend
|
|
||||||
image: zkt-notes-backend
|
|
||||||
container_name: zkt_backend
|
|
||||||
environment:
|
|
||||||
DB_HOST: db
|
|
||||||
DB_NAME: notesdb
|
|
||||||
DB_USER: notesuser
|
|
||||||
DB_PASSWORD: notessecret
|
|
||||||
DB_PORT: "5432"
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
networks:
|
|
||||||
- zkt_net
|
|
||||||
restart: on-failure
|
|
||||||
|
|
||||||
db:
|
|
||||||
image: postgres:16
|
|
||||||
container_name: zkt_db
|
|
||||||
environment:
|
|
||||||
POSTGRES_DB: notesdb
|
|
||||||
POSTGRES_USER: notesuser
|
|
||||||
POSTGRES_PASSWORD: notessecret
|
|
||||||
volumes:
|
|
||||||
- zkt_db_data:/var/lib/postgresql/data
|
|
||||||
networks:
|
|
||||||
- zkt_net
|
|
||||||
restart: on-failure
|
|
||||||
|
|
||||||
networks:
|
|
||||||
zkt_net:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
zkt_db_data:
|
|
||||||
external: true
|
|
||||||
Loading…
Reference in New Issue
Block a user