diff --git a/README.md b/README.md index 1cf44a3..7a2c351 100644 --- a/README.md +++ b/README.md @@ -306,6 +306,7 @@ A collection of delicious docker recipes. - [x] docker.bintray.io/jfrog/artifactory-oss - [x] jeffail/benthos - [x] tutum/builder +- [x] calendso/calendso - [x] browserless/chrome - [x] certbot - [x] codercom/code-server diff --git a/calendso/README.md b/calendso/README.md new file mode 100644 index 0000000..35c18fc --- /dev/null +++ b/calendso/README.md @@ -0,0 +1,4 @@ +calendso +======== + +![](https://user-images.githubusercontent.com/8019099/134363898-4b29e18f-3e61-42b7-95bc-10891056249d.gif) diff --git a/calendso/docker-compose.yml b/calendso/docker-compose.yml new file mode 100644 index 0000000..0b3d444 --- /dev/null +++ b/calendso/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.8" + +x-env-vars: &env-vars + POSTGRES_USER: calendso + POSTGRES_PASSWORD: calendso + POSTGRES_DB: calendso + DATABASE_URL: postgresql://calendso:calendso@postgres:5432/calendso + BASE_URL: http://localhost:3000 + NEXT_PUBLIC_APP_URL: http://localhost:3000 + EMAIL_FROM: user@gmail.com + EMAIL_SERVER_HOST: smtp.gmail.com + EMAIL_SERVER_PORT: 587 + EMAIL_SERVER_USER: user + EMAIL_SERVER_PASSWORD: ****** + CALENDSO_ENCRYPTION_KEY: 74964341d4f1fa985943ad438f8a9ff8 + JWT_SECRET: 46ae96b5c068058a3dbe3235966f157f + NODE_ENV: production + +services: + + calendso: + image: calendso/calendso + ports: + - "3000:3000" + environment: + <<: *env-vars + depends_on: + - postgres + restart: unless-stopped + + postgres: + image: postgres:14-alpine + volumes: + - ./data:/var/lib/postgresql/data + environment: + <<: *env-vars + restart: unless-stopped + + studio: + image: calendso/calendso + command: [npx, prisma, studio] + ports: + - "5555:5555" + environment: + <<: *env-vars + depends_on: + - postgres + restart: unless-stopped diff --git a/postgres/docker-compose.yml b/postgres/docker-compose.yml index 283c0d9..f1677da 100644 --- a/postgres/docker-compose.yml +++ b/postgres/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.8" services: postgres: - image: postgres:alpine + image: postgres:14-alpine ports: - "5432:5432" volumes: