complicated toggle and todo
February 27, 2024
dbid: 5d813214-f62b-49a7-9e99-e23917357ad9
paragraph children
mention
toggle
Toggle basic
TL;DR : How can I pass env variable when building the image with docker-compose and have docker run image command recognize them ?
h1 toggle
toggle in h1
[yaml]
api:
build:
context: .
dockerfile: Dockerfile-preprod
image: registry.git.louis-girones.fr:4567/make-your-night/back:preprod
environment:
- NODE_ENV=development
env_file:
- .env
volumes:
- .:/app
ports:
- "${PORT_PREPROD}:${PORT_PREPROD}"
command: sh -c "mkdir -p dist && touch ./dist/app.js && yarn run start"
mongo:
image: mongo:4.0
ports:
- "${MONGO_PREPROD}"
command: mongod
volumes:
- ./data:/data/db
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.1.1
volumes:
- ./esdata:/usr/share/elasticsearch/data
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
ports:
- "9300:9300"
- "9200:9200"
volumes:
esdata:
h2 toggle
Emma Stone won the Oscar for best actress. She's never been funnier (or sexier) than in Poor Things.
Paragraph
- bulleted list 1
- bulleted list 2
comment
- here
- list
h3
- bulleted list 3
- numbered list 1
- child a
- child b content
- numbered list 2
- numbered list 3
supplement
todo list
What is this?
It's the children of a toggle!
h1 in toggle
- todo
A simple quote block
Country | Price |
---|---|
Sweden | 100 SEK |
USA | $10 |
See all postsSee all posts