63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
services:
|
|
standardnotes-server:
|
|
image: standardnotes/server
|
|
env_file: .env
|
|
container_name: stanotes-server
|
|
restart: unless-stopped
|
|
ports:
|
|
- 3038:3000
|
|
- 3125:3104
|
|
volumes:
|
|
- ./logs:/var/lib/server/logs
|
|
- ./uploads:/opt/server/packages/files/dist/uploads
|
|
networks:
|
|
- standardnotes
|
|
- reverseproxy
|
|
|
|
standardnotes-localstack:
|
|
image: localstack/localstack:3.0
|
|
container_name: standardnotes-localstack
|
|
expose:
|
|
- 4566
|
|
restart: unless-stopped
|
|
environment:
|
|
- SERVICES=sns,sqs
|
|
- HOSTNAME_EXTERNAL=localstack
|
|
- LS_LOG=warn
|
|
volumes:
|
|
- ./localstack_bootstrap.sh:/etc/localstack/init/ready.d/localstack_bootstrap.sh
|
|
networks:
|
|
- standardnotes
|
|
|
|
standardnotes-database:
|
|
image: mysql:8
|
|
container_name: standardnotes-database
|
|
environment:
|
|
- MYSQL_DATABASE=standard_notes_db
|
|
- MYSQL_USER=akanealw
|
|
- MYSQL_ROOT_PASSWORD=aa977b65c4a7ef2d1a7c4748
|
|
- MYSQL_PASSWORD=a98c643040661ef63d8d48f7
|
|
expose:
|
|
- 3306
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data/mysql:/var/lib/mysql
|
|
- ./data/import:/docker-entrypoint-initdb.d
|
|
networks:
|
|
- standardnotes
|
|
|
|
standardnotes-cache:
|
|
image: redis:6.0-alpine
|
|
container_name: cache_self_hosted
|
|
volumes:
|
|
- ./data/redis/:/data
|
|
expose:
|
|
- 6379
|
|
restart: unless-stopped
|
|
networks:
|
|
- standardnotes
|
|
|
|
networks:
|
|
standardnote:
|
|
name: standardnotes
|