Created
April 19, 2022 22:14
-
-
Save egeneralov/bf45ed706f8178a48975ffadc070b10b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /opt/etherpad | |
cd /opt/etherpad | |
cat << EOF > docker-compose.yaml | |
version: '3.4' | |
services: | |
etherpad: | |
image: etherpad/etherpad | |
environment: | |
DB_TYPE: postgres | |
DB_HOST: postgresql | |
DB_PORT: 5432 | |
DB_NAME: etherpad | |
DB_USER: etherpad | |
DB_PASS: etherpad | |
ADMIN_PASSWORD: supersecret | |
ports: | |
- '0.0.0.0:9001:9001' | |
networks: | |
etherpad: | |
postgresql: | |
image: postgres:13.1 | |
environment: | |
POSTGRES_USER: etherpad | |
POSTGRES_PASSWORD: etherpad | |
networks: | |
etherpad: | |
networks: | |
etherpad: | |
driver: bridge | |
EOF | |
docker-compose pull | |
docker-compose up -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment