docker-compose testing
This commit is contained in:
parent
900c4fe50a
commit
dc1b593b3e
@ -1,25 +0,0 @@
|
|||||||
version: "3.4"
|
|
||||||
|
|
||||||
services:
|
|
||||||
webapp:
|
|
||||||
build:
|
|
||||||
context: webapp
|
|
||||||
environment:
|
|
||||||
- PUBLIC_REGISTRATION=true
|
|
||||||
backend:
|
|
||||||
build:
|
|
||||||
context: backend
|
|
||||||
environment:
|
|
||||||
- SMTP_HOST=mailserver
|
|
||||||
- SMTP_PORT=25
|
|
||||||
- SMTP_IGNORE_TLS=true
|
|
||||||
- PUBLIC_REGISTRATION=true
|
|
||||||
mailserver:
|
|
||||||
image: djfarrelly/maildev
|
|
||||||
ports:
|
|
||||||
- 1080:80
|
|
||||||
networks:
|
|
||||||
- hc-network
|
|
||||||
|
|
||||||
networks:
|
|
||||||
hc-network:
|
|
||||||
@ -1,8 +1,12 @@
|
|||||||
|
# This docker-compose file is just here for testing
|
||||||
version: "3.4"
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
webapp:
|
webapp:
|
||||||
image: ocelotsocialnetwork/develop-webapp:master.2020.12.17
|
build:
|
||||||
|
dockerfile: webapp.Dockerfile
|
||||||
|
target: branded
|
||||||
|
context: .
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
networks:
|
networks:
|
||||||
@ -14,10 +18,12 @@ services:
|
|||||||
- GRAPHQL_URI=http://backend:4000
|
- GRAPHQL_URI=http://backend:4000
|
||||||
- MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
|
- MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
|
||||||
- WEBSOCKETS_URI=${WEBSOCKETS_URI}
|
- WEBSOCKETS_URI=${WEBSOCKETS_URI}
|
||||||
- PUBLIC_REGISTRATION=false
|
- PUBLIC_REGISTRATION=true
|
||||||
command: yarn run dev
|
|
||||||
backend:
|
backend:
|
||||||
image: ocelotsocialnetwork/develop-backend:master.2020.12.17
|
build:
|
||||||
|
dockerfile: backend.Dockerfile
|
||||||
|
target: branded
|
||||||
|
context: .
|
||||||
networks:
|
networks:
|
||||||
- hc-network
|
- hc-network
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -34,13 +40,13 @@ services:
|
|||||||
- EMAIL_SUPPORT=support@wir.social
|
- EMAIL_SUPPORT=support@wir.social
|
||||||
- EMAIL_DEFAULT_SENDER=info@wir.social
|
- EMAIL_DEFAULT_SENDER=info@wir.social
|
||||||
- PUBLIC_REGISTRATION=true
|
- PUBLIC_REGISTRATION=true
|
||||||
- SMTP_HOST=${SMTP_HOST}
|
|
||||||
- SMTP_PORT=${SMTP_PORT}
|
|
||||||
- SMTP_USERNAME=${SMTP_USERNAME}
|
- SMTP_USERNAME=${SMTP_USERNAME}
|
||||||
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
||||||
command: yarn run dev
|
- SMTP_HOST=mailserver
|
||||||
|
- SMTP_PORT=25
|
||||||
|
- SMTP_IGNORE_TLS=true
|
||||||
neo4j:
|
neo4j:
|
||||||
image: ocelotsocialnetwork/develop-neo4j:0.6.3
|
image: ocelotsocialnetwork/neo4j:community
|
||||||
networks:
|
networks:
|
||||||
- hc-network
|
- hc-network
|
||||||
environment:
|
environment:
|
||||||
@ -49,5 +55,11 @@ services:
|
|||||||
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
|
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
|
||||||
ports:
|
ports:
|
||||||
- 7687:7687
|
- 7687:7687
|
||||||
|
mailserver:
|
||||||
|
image: djfarrelly/maildev
|
||||||
|
ports:
|
||||||
|
- 1080:80
|
||||||
|
networks:
|
||||||
|
- hc-network
|
||||||
networks:
|
networks:
|
||||||
hc-network:
|
hc-network:
|
||||||
Loading…
x
Reference in New Issue
Block a user