2024-04-23 22:33:08 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
jekyll:
|
|
|
|
build:
|
|
|
|
context: docker/jekyll
|
|
|
|
args:
|
|
|
|
uid: "${_UID:-1000}"
|
2024-05-23 09:21:02 +00:00
|
|
|
user: "${_USER:-appuser}"
|
2024-04-23 22:33:08 +00:00
|
|
|
gid: "${_GID:-1000}"
|
2024-05-23 09:21:02 +00:00
|
|
|
group: "${_GROUP:-appgroup}"
|
2024-04-23 22:33:08 +00:00
|
|
|
volumes:
|
2024-05-22 13:02:31 +00:00
|
|
|
- .:/home/ubuntu/workspace
|
|
|
|
working_dir: /home/ubuntu/workspace
|
2024-04-23 22:33:08 +00:00
|
|
|
ports:
|
|
|
|
- "4000:4000"
|
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
hostname: jekyll.local
|
|
|
|
container_name: jekyll.local
|
|
|
|
networks:
|
|
|
|
- bridge
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpus: '1.5'
|
|
|
|
memory: 512M
|
|
|
|
|
|
|
|
networks:
|
|
|
|
bridge:
|
|
|
|
external: true
|