Skip to content

Commit 99b44fe

Browse files
committed
feat (deployment): combine all server services in one container
1 parent 4a07dbf commit 99b44fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/server/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
container_name: redis-db
3030
restart: unless-stopped
3131
# Use the password from the .env file
32-
command: redis-server --requirepass your_redis_password_here
32+
command: redis-server --requirepass ${REDIS_PASSWORD}
3333
volumes:
3434
# Use a named volume for persistent Redis data
3535
- redis-data:/data
@@ -48,9 +48,9 @@ services:
4848
environment:
4949
- WHATSAPP_DEFAULT_ENGINE=GOWS
5050
# Use variables from the .env file
51-
- WAHA_API_KEY=your_waha_api_key_here
51+
- WAHA_API_KEY=${WAHA_API_KEY}
5252
- WAHA_DASHBOARD_USERNAME=admin
53-
- WAHA_DASHBOARD_PASSWORD=admin
53+
- WAHA_DASHBOARD_PASSWORD=${WAHA_DASHBOARD_PASSWORD}
5454
networks:
5555
- sentient_network
5656
# No ports are exposed to the host. The sentient-app communicates with it internally.

0 commit comments

Comments
 (0)