Skip to content
Snippets Groups Projects
Commit 999a7732 authored by Anze Skulj's avatar Anze Skulj
Browse files

docker fixes

parent 87425270
No related branches found
No related tags found
1 merge request!3Digital twin
Pipeline #64192 passed with warnings
...@@ -61,9 +61,11 @@ if config_env() == :prod do ...@@ -61,9 +61,11 @@ if config_env() == :prod do
# See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0 # See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0
# for details about using IPv6 vs IPv4 and loopback vs public addresses. # for details about using IPv6 vs IPv4 and loopback vs public addresses.
ip: {0, 0, 0, 0}, ip: {0, 0, 0, 0},
port: port port: port,
], ],
secret_key_base: secret_key_base secret_key_base: secret_key_base,
server: true,
check_origin: false
# ## SSL Support # ## SSL Support
# #
......
version: '3.8'
services:
nemo_cloud_service:
build: .
container_name: "nemo_cloud_service_app"
# Publish port 4000 directly to your host
ports:
- "4000:4000"
environment:
- PHX_SERVER=true
- PORT=4000
- MIX_ENV=prod
- DATABASE_URL= "ecto://user:pass@localhost/krendb"
- SECRET_KEY_BASE=zYRQiZHSoacOEgsM9w0dW4YgMQeIOrHjlM63tkAdlTlHG6lXiCrkls2TD6khDliA
- PHX_HOST=0.0.0.0
networks:
default:
driver: bridge
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment