mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-12 07:43:10 +10:00
ci(github): add github action to redeploy latest version after docker image ci
This commit is contained in:
@ -11,29 +11,29 @@ services:
|
||||
- ./scripts/database/initialize.sql:/docker-entrypoint-initdb.d/initialize.sql
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
# server:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: server/Dockerfile
|
||||
# container_name: server
|
||||
# env_file: .env
|
||||
# environment:
|
||||
# - POSTGRES_HOST=postgres
|
||||
# ports:
|
||||
# - 3100:3100
|
||||
# depends_on:
|
||||
# - postgres
|
||||
server:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: server/Dockerfile
|
||||
container_name: server
|
||||
env_file: .env
|
||||
environment:
|
||||
- POSTGRES_HOST=postgres
|
||||
ports:
|
||||
- 3100:3100
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
# client:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: client/Dockerfile
|
||||
# container_name: client
|
||||
# env_file: .env
|
||||
# ports:
|
||||
# - 3000:3000
|
||||
# depends_on:
|
||||
# - server
|
||||
client:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: client/Dockerfile
|
||||
container_name: client
|
||||
env_file: .env
|
||||
ports:
|
||||
- 3000:3000
|
||||
depends_on:
|
||||
- server
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
||||
Reference in New Issue
Block a user