first commit
This commit is contained in:
29
docker-compose.c.yml
Normal file
29
docker-compose.c.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
DB_URL: ${DB_URL}
|
||||
REDIS_URL: ${REDIS_URL}
|
||||
REDIS_HOST: ${REDIS_HOST}
|
||||
REDIS_PORT: ${REDIS_PORT}
|
||||
EMAIL_HOST: ${EMAIL_HOST}
|
||||
EMAIL_PORT: ${EMAIL_PORT}
|
||||
container_name: gofiber-app
|
||||
#ports:
|
||||
# - "8080:8080"
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- gofiber_uploads:/app/uploads
|
||||
- gofiber_views:/app/views
|
||||
- gofiber_docs:/app/docs
|
||||
restart: unless-stopped
|
||||
|
||||
# Define named volumes used above
|
||||
volumes:
|
||||
gofiber_uploads: {}
|
||||
gofiber_views: {}
|
||||
gofiber_docs: {}
|
||||
Reference in New Issue
Block a user