diff options
Diffstat (limited to 'communities/red-right-hand/174bg.net/docker-compose.yaml')
| -rw-r--r-- | communities/red-right-hand/174bg.net/docker-compose.yaml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/communities/red-right-hand/174bg.net/docker-compose.yaml b/communities/red-right-hand/174bg.net/docker-compose.yaml index 20d326f..e2dbbef 100644 --- a/communities/red-right-hand/174bg.net/docker-compose.yaml +++ b/communities/red-right-hand/174bg.net/docker-compose.yaml @@ -1,14 +1,20 @@ services: - # Node.js service (use with: docker compose up nextjs-standalone --build) - nextjs-standalone: + 174bg-net: build: context: . dockerfile: Dockerfile - image: nextjs-standalone-image - container_name: nextjs-standalone-container - environment: - NODE_ENV: production - PORT: "3000" + env_file: + - .env ports: - "3000:3000" restart: unless-stopped + + postgres: + image: postgres:18 + env_file: + - .env + ports: + - "5432:5432" + volumes: + - ./postgresql:/var/lib/postgresql + restart: unless-stopped |
